<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>WelCome</title>
    <script th:src="@{/js/jquery-3.3.1.js}" type="text/javascript"></script>
    <script th:src="@{/js/vue.min.js}" type="text/javascript"></script>
</head>
<body>

    <h1>欢迎来到这里</h1>
    <a href="/toStudent">进入学生信息表</a>
    <a href="javascript:;" onclick="read()"></a>

</body>
<script>
    $(function(){
        $.post("/findOne",{},function (data) {
            alert(data);
        });
    });
</script>
</html>